org.eclipse.vtp.desktop.projects.core.internals
Class DatabaseTableColumn
java.lang.Object
org.eclipse.vtp.desktop.projects.core.internals.VoiceResource
org.eclipse.vtp.desktop.projects.core.internals.DatabaseTableColumn
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, IDatabaseTableColumn, ObjectListener, IVoiceToolsResource
public class DatabaseTableColumn
- extends VoiceResource
- implements IDatabaseTableColumn
This is a concrete implementation of IDatabaseTableColumn
and provides the default behavior of that interface.
- Version:
- 2.0
- Author:
- Trip Gilman
|
Constructor Summary |
DatabaseTableColumn(DatabaseTable table,
java.lang.String name,
ColumnType columnType)
Creates a new DatabaseTableColumn in the given database
table with the provided name and column type definition. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseTableColumn
public DatabaseTableColumn(DatabaseTable table,
java.lang.String name,
ColumnType columnType)
- Creates a new
DatabaseTableColumn in the given database
table with the provided name and column type definition.
- Parameters:
table - The database table that will contain this columnname - The name of this database table columncolumnType - The data type defintion of this column
getObjectId
protected java.lang.String getObjectId()
- Description copied from class:
VoiceResource
- The object id is used by the event system to uniquely
identify a project resource. In this fashion, multiple
references to the resource can be created and still be
notified of events.
- Specified by:
getObjectId in class VoiceResource
- Returns:
- A unique identifier for this resource
getName
public java.lang.String getName()
- Specified by:
getName in interface IDatabaseTableColumn- Specified by:
getName in interface IVoiceToolsResource
- Returns:
- The name of this database table column
getColumnType
public ColumnType getColumnType()
- Specified by:
getColumnType in interface IDatabaseTableColumn
- Returns:
- The data type definition of this database table column
getParent
public IVoiceToolsResource getParent()
- Description copied from interface:
IVoiceToolsResource
- Returns the parent of this resource. If this is a project
resource this function returns
this.
- Specified by:
getParent in interface IVoiceToolsResource
- Returns:
- The parent of this resource resource